package com.demo.vo;

import com.demo.bean.Teacher;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class StudentVO {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "学生姓名")
    private String stuName;
    @ApiModelProperty(value = "年龄")
    private int age;
    @ApiModelProperty(value = "老师id")
    private Long thId;
    @ApiModelProperty(value = "学生对应的老师")
    private Teacher teacher;
}
